unit uAddTemplateForm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TAddTemplateForm = class(TForm)
    Label1: TLabel;
    edtName: TEdit;
    edtPageNum: TEdit;
    Label2: TLabel;
    Button1: TButton;
    Button2: TButton;
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  AddTemplateForm: TAddTemplateForm;

implementation

{$R *.dfm}

procedure TAddTemplateForm.Button1Click(Sender: TObject);
begin
  ModalResult := mrOk;
end;

procedure TAddTemplateForm.Button2Click(Sender: TObject);
begin
  ModalResult := mrCancel;
end;

end.
